package org.yzh.protocol.body;

import io.github.yezhihao.protostar.DataType;
import io.github.yezhihao.protostar.annotation.Field;

public class FuelCell {

    public static final int id = 0x01;

    public static int id() {
        return id;
    }

    @Field(index = 0, type = DataType.WORD, desc = "车辆状态")
    private int voltage;
    @Field(index = 4, type = DataType.BYTE, desc = "充电状态")
    private int electricCurrent;
    @Field(index = 5, type = DataType.BYTE, desc = "运行模式")
    private int fuelRate;
    @Field(index = 6, type = DataType.BYTE, desc = "车速")
    private int temperatureProbeTotal;
    @Field(index = 7, type = DataType.WORD, desc = "累计里程")
    private int probeTemperatureValue;
    @Field(index = 9, type = DataType.DWORD, desc = "总电压")
    private int voltage;
    @Field(index = 13, type = DataType.DWORD, desc = "总电流")
    private int electricCurrent;
    @Field(index = 13, type = DataType.DWORD, desc = "SOC")
    private int soc;
    @Field(index = 13, type = DataType.DWORD, desc = "DC-DC状态")
    private int dcState;
    @Field(index = 13, type = DataType.DWORD, desc = "挡位")
    private int gear;
    @Field(index = 13, type = DataType.DWORD, desc = "绝缘电阻")
    private int insulationResistance;
    @Field(index = 13, type = DataType.DWORD, desc = "预留")
    private int reserved;

}
